import React from 'react'
import {useNavigate} from 'react-router-dom'

export default function Mine() {
    const navigate = useNavigate()
    
    return (
        <div>
            Mine
            <br />
            <button onClick={()=>navigate("/detail?username='fieemiracle'",{replace:true})}>click me to about page</button>
        </div>
    )
}
